<template>
  <div id="app">
    <!-- hellow -Vue {{name}}
    <button @click="age++">age++</button>
    --{{age}} -->
    <nav>
      <router-link to="/">home页面</router-link>&nbsp;
      <router-link to="/about">about关于</router-link>

    </nav>
    <router-view></router-view>

  </div>
</template>


<script>
export default {
    name:"app",
    data(){
    return {
      name: "刘老板",
      age: 18
    }
  }
}
</script>
<style>

/* 导入样式,如下局部导入 */

/* @import "./assets/index.css" */

/* @import url("@/assets/index.css") */
@import url("@/assets/index.css")


</style>